<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title><s:property value='安全培训交底' /></title>
		<link href="/SCMDB/style/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<%@ include file="../commonPage/message.jsp" %>
	</head>
	<body>
		<h2>
			<s:property value='%{getText("current_position")}' />${parentMenu}>>${currentMenu}
		</h2>
		<div class="main">
		  <s:form action="securityTrainingAction!findAll" method="post" theme="simple">
			<p class="pEdit">
			  <input name="listTrainingType" type="button" class="bAdd" value="交底类型"
			  onclick="window.location.href='/SCMDB/securityTrainingTypeAction!findAll.action'" />
			  
			  <%=request.getAttribute("button") %>
			</p>			
			
			<table border="0" cellpadding="1" cellspacing="1" class="tableList">
				<thead>
					<tr>
						<th width="5%">
							<input type="checkbox" name="checkbox" value="checkbox"
								onclick="Super.checkAll(this.checked)" title="全选/取消" />
						</th>
						<th width="5%" class="number">序号</th>
						<th width="25%">标题</th>
						<th width="20%">交底类型</th>
						<!-- <th width="20%">交底人</th> -->
						<th width="10%">交底日期</th>
						<th width="10%">创建人</th>
					</tr>
				</thead>
				<tbody>
				   <s:iterator id="pageBean" value="entity.list"  status="u">
					  <tr>
    					<td><input type="checkbox" name="checkbox" value="${pageBean.sysId}" /></td>
						<td class="number">${entity.index+u.index}</td>
						<td><s:property value="title"/></td>
						<td><s:property value="trainingTypeNames"/></td>
						<!-- <td><s:property value="trainMansName"/></td> -->
						<td><s:property value="trainDate"/></td>
						<td><s:property value="user.userName"/></td>
					</tr>
				  </s:iterator>
				  <tr>
					<td colspan="7" class="turnPage">
						<jsp:include flush="true" page="../commonPage/page.jsp">
							<jsp:param name="entity" value="entity" />
						</jsp:include>
					</td>
				  </tr>
				</tbody>
			</table>			
		  </s:form>
		</div>
	</body>
</html>
